package com.alpha.eceasy.mall.api.entity;

import com.alpha.eceasy.extension.BaseFormInfo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;

@Data
@TableName("mall_customer")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Schema(description = "客户表")
public class MallCustomer extends BaseFormInfo<MallCustomer> {
    @Serial
    private static final long serialVersionUID = 641655770L;

    @TableField(value = "seller_guid")
    private String sellerGuid;
    /**
     * 名字
     */
    @TableField(value = "name")
    private String name;
    /**
     * 公司
     */
    @TableField(value = "company")
    private String company;
    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;
    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;
    /**
     * 职务
     */
    @TableField(value = "position")
    private String position;
    /**
     * 电话
     */
    @TableField(value = "telephone")
    private String telephone;
    /**
     * 手机
     */
    @TableField(value = "mobile")
    private String mobile;
    /**
     * 地区
     */
    @TableField(value = "area")
    private String area;
    /**
     * 来源
     */
    @TableField(value = "source")
    private String source;
    /**
     * 负责人id
     */
    @TableField(value = "principal_guid")
    private String principalGuid;
    /**
     * 邮编
     */
    @TableField(value = "post_code")
    private String postCode;
    /**
     * 用户名
     */
    @TableField(value = "username")
    private String username;
    /**
     * 性别 1：男2：女
     */
    @TableField(value = "sex")
    private Integer sex;

    @TableField(value = "first_name")
    private String firstName;

    @TableField(value = "last_name")
    private String lastName;
    @TableField(value = "company_website")
    private String companyWebsite;
    @TableField(value = "company_address")
    private String companyAddress;
    /**
     * 1:工厂 2：批发
     */
    @TableField(value = "company_type")
    private Integer companyType;
    @TableField(value = "whatsapp")
    private String whatsapp;
    @TableField(value = "wechat")
    private String wechat;
    @TableField(value = "skype")
    private String skype;
    @TableField(value = "password")
    private String password;
}
